package com.fz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fz.entity.Visitor;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 存储访客信息 服务类
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
public interface VisitorService extends IService<Visitor> {
    boolean pass(Long id,Integer status, Integer statu);

    Page<Visitor> getList(String username, Integer pageNo, Integer pageSize);
    Page<Visitor> showList(Integer pageNo, Integer pageSize);

    Boolean add(String type, String aging, Integer count, String content, Integer userId, String username);

    boolean reject(Long id, Integer status, Integer statu);
    boolean check(Long id,String field,String value);
    boolean del(Long id,Integer status);
    Page<Visitor> search(String input, Integer pageNo, Integer pageSize);
}
